Mariner 1

Mariner 1 was the first spacecraft of the American Mariner program. Launched on July 22, 1962 as a Venus flyby mission, a range safety officer ordered its destructive abort at 09:26:16 UT, 294.5 seconds after launch.[1] According to NASA's current account for the public:

The booster had performed satisfactorily until an unscheduled yaw-lift (northeast) maneuver was detected by the range safety officer. Faulty application of the guidance commands made steering impossible and were directing the spacecraft towards a crash, possibly in the North Atlantic shipping lanes or in an inhabited area. The destruct command was sent 6 seconds before separation, after which the launch vehicle could not have been destroyed. The radio transponder continued to transmit signals for 64 seconds after the destruct command had been sent.[2]

What NASA's website describes as "improper operation of the Atlas airborne beacon equipment" caused the booster to lose contact with one of the guidance systems on the ground, setting the stage for an apparent software-related guidance system failure. The role of software error in the launch failure remains somewhat mysterious in nature, shrouded in the ambiguities and conflicts among (and in some accounts, even within) the various accounts, official and otherwise.

The probe's mission was later completed by Mariner 2. However, the cryptic nature of the problems that led to the decision to abort Mariner 1, as well as the confusion in various reports on the incident, gave rise to an urban legend of sorts. Indirectly, this confusion also contributed to some software engineering folklore about the role of supposed Fortran code in the guidance systems. This folklore has persisted at least as late as 2006, despite a lack of evidence that Fortran was even in use for real-time guidance computations for the Mariner missions.

Contents

Program error

"The most expensive hyphen in history"

The most consistent account was that the error was in hand-transcription of a mathematical symbol in the program specification, in particular a missing overbar. Yet the story persists of a "missing hyphen" (‐), either in the data or in the computer instructions, or even somehow in the equations. No doubt several factors contributed to the "missing hyphen" narrative and its longevity, even in official accounts from technical cognoscenti at JPL and NASA. Among the factors cited (or obvious enough):

Regardless of whatever may have given rise to initial reports of a "missing hyphen", the simplest and most consistent-sounding explanation that the public and Congress would accept would probably have been preferable to those who simply wanted to get on with the job of a Venus fly-by mission. The stories had contradictions, perhaps, but they were so technical that nobody who could have interfered with Mariner program progress was likely to care about them or even notice. (After all, even in one later NASA account, the supposed "hyphen" is reported as missing from instructions at one point in the text, and from equations at another[3]).

Ambiguity of error location

The New York Times, reporting on the results of a review board, said that the error stemmed from "the omission of a hyphen in some mathematical data" .[4] However, the same report also said the hyphen was

a symbol that should have been fed into a computer, along with a mass of other coded mathematical instructions.

This sort of inconsistency or ambiguity was seen in many subsequent variations on the story, official and otherwise. "Missing hyphen" versions of the story gained from official support before the month was out. NASA official Richard B. Morrison testified before Congress that the supposed hyphen

... gives a cue for the spacecraft to ignore the data the computer feeds it until radar contact is once again restored. When that hyphen is left out, false information is fed into the spacecraft control systems. In this case, the computer fed the rocket in hard left, nose down and the vehicle obeyed and crashed.[5]

(Note that Morrison says the spacecraft "crashed", not that it was intentionally destroyed.) In a NASA account submitted to Congress in 1963, the hyphen is described as missing in two different ways:

NASA-JPL-USAF Mariner R-1 Post-Flight Review Board determined that the omission of a hyphen in coded computer instructions transmitted incorrect guidance signals to Mariner spacecraft boosted by two-stage Atlas-Agena from Cape Canaveral on July 21. Omission of hyphen in data editing caused computer to swing automatically into a series of unnecessary course correction signals which threw spacecraft off course so that it had to be destroyed.[6]

However, in the same 1963 report to Congress, Morrison's testimony from the previous year is recounted differently:

In testimony before House Science and Astronautics Committee, Richard B. Morrison, NASA's Launch Vehicles Director, testified that an error in computer equations for Venus probe launch of Mariner R-1 space-craft on July 21 led to its destruction when it veered off course.[7]

JPL's Mariner Venus Final Project Report in 1965 noted that, at 4 minutes and 25 seconds into the flight there was an "[U]nscheduled yaw-lift maneuver":

...steering commands were being supplied, but faulty application of the guidance equations was taking the vehicle far off course.[8]

Arthur C. Clarke wrote several years later that Mariner 1 was "wrecked by the most expensive hyphen in history".[9]

In a NASA report published in 1985, Oran Nicks offered yet another slightly differing account, but with software-related error still identified as a missing "hyphen":

The guidance antenna on the Atlas performed poorly, below specifications. When the signal received by the rocket became weak and noisy, the rocket lost its lock on the ground guidance signal that supplied steering commands. The possibility had been foreseen; in the event that radio guidance was lost the internal guidance computer was supposed to reject the spurious signals from the faulty antenna and proceed on its stored program, which would probably have resulted in a successful launch. However, at this point a second fault took effect. Somehow a hyphen had been dropped from the guidance program loaded aboard the computer, allowing the flawed signals to command the rocket to veer left and nose down. The hyphen had been missing on previous successful flights of the Atlas, but that portion of the equation had not been needed since there was no radio guidance failure. Suffice it to say, the first U.S. attempt at interplanetary flight failed for want of a hyphen.[3]

NASA's website now says the problem was:

... apparently caused by a combination of two factors. Improper operation of the Atlas airborne beacon equipment resulted in a loss of the rate signal from the vehicle for a prolonged period. The airborne beacon used for obtaining rate data was inoperative for four periods ranging from 1.5 to 61 seconds in duration. Additionally, the Mariner 1 Post Flight Review Board determined that the omission of a hyphen in coded computer instructions in the data-editing program allowed transmission of incorrect guidance signals to the spacecraft. During the periods the airborne beacon was inoperative the omission of the hyphen in the data-editing program caused the computer to incorrectly accept the sweep frequency of the ground receiver as it sought the vehicle beacon signal and combined this data with the tracking data sent to the remaining guidance computation. This caused the computer to swing automatically into a series of unnecessary course corrections with erroneous steering commands which finally threw the spacecraft off course.[10]

Other punctuation

In other versions of the legend, the bug consisted of:

Overbar transcription error

The error had occurred when a symbol was being transcribed by hand in the specification for the guidance program. The writer missed the superscript bar (or overline) in

\bar{\dot{R}_n}

by which was meant "the nth smoothed value of the time derivative of a radius R". Without the smoothing function indicated by the bar, the program treated normal minor variations of velocity as if they were serious, causing spurious corrections that sent the rocket off course.[14] It was then destroyed by the Range Safety Officer.[15]

Spacecraft and subsystems

The Mariner 1 spacecraft was identical to Mariner 2, launched 27 August 1962. Mariner 1 consisted of a hexagonal base, 1.04 meters across and 0.36 meters thick, which contained six magnesium chassis housing the electronics for the science experiments, communications, data encoding, computing, timing, and attitude control and the power control, battery, and battery charger, as well as the attitude control gas bottles and the rocket engine. On top of the base was a tall pyramid-shaped mast on which the science experiments were mounted which brought the total height of the spacecraft to 3.66 meters. Attached to either side of the base were rectangular solar panel wings with a total span of 5.05 meters and width of 0.76 meters. Attached by an arm to one side of the base and extending below the spacecraft was a large directional dish antenna.

The Mariner 1 power system consisted of the two solar cell wings, one 183 cm by 76 cm and the other 152 cm by 76 cm (with a 31 cm dacron extension (a solar sail) to balance the solar pressure on the panels) which powered the craft directly or recharged a 1000 Watt-hour sealed silver-zinc cell battery, which was to be used before the panels were deployed, when the panels were not illuminated by the Sun, and when loads were heavy. A power-switching and booster regulator device controlled the power flow. Communications consisted of a 3 Watt transmitter capable of continuous telemetry operation, the large high gain directional dish antenna, a cylindrical omnidirectional antenna at the top of the instrument mast, and two command antennas, one on the end of either solar panel, which received instructions for midcourse maneuvers and other functions.

Propulsion for midcourse maneuvers was supplied by a monopropellant (anhydrous hydrazine) 225 N retro-rocket. The hydrazine was ignited using nitrogen tetroxide and aluminum oxide pellets, and thrust direction was controlled by four jet vanes situated below the thrust chamber. Attitude control with a 1 degree pointing error was maintained by a system of nitrogen gas jets. The Sun and Earth were used as references for attitude stabilization. Overall timing and control was performed by a digital Central Computer and Sequencer. Thermal control was achieved through the use of passive reflecting and absorbing surfaces, thermal shields, and movable louvers.

The scientific experiments were mounted on the instrument mast and base. A magnetometer was attached to the top of the mast below the omnidirectional antenna. Particle detectors were mounted halfway up the mast, along with the cosmic ray detector. A cosmic dust detector and solar plasma spectrometer detector were attached to the top edges of the spacecraft base. A microwave radiometer and an infrared radiometer and the radiometer reference horns were rigidly mounted to a 48 cm diameter parabolic radiometer antenna mounted near the bottom of the mast.

In addition, a small 91 cm × 150 cm (3 feet × 5 feet) United States flag was folded and stowed on board Mariner 1 (and Mariner 2) before it was mated to the Agena.

References

  1. ^ "Venus Shot Fails as Rocket Strays" (fee required). New York Times. 1962-07-23. http://select.nytimes.com/gst/abstract.html?res=FB0A16F63C59137B93C1AB178CD85F468685F9. Retrieved 2009-02-14. 
  2. ^ "Mariner 1". NASA. 2008-08-05. http://nssdc.gsfc.nasa.gov/nmc/spacecraftDisplay.do?id=MARIN1. Retrieved 2009-02-14. 
  3. ^ a b NASA publication SP-480, Far Travelers -- The Exploring Machines, Oran W. Nicks, 1985
  4. ^ "For Want of Hyphen Venus Rocket Is Lost", New York Times, Jul 27, 1962 as quoted in RISKS Digest, Vol 5, Issue #66
  5. ^ House Science and Astronautics Committee, July 31, 1962, also quoted here
  6. ^ "Astronautical and Aeronautical Events of 1962," report to the House Committee on Science and Astronautics, June 12, 1963 p.131
  7. ^ "Astronautical and Aeronautical Events of 1962," report to the House Committee on Science and Astronautics, June 12, 1963 p.333
  8. ^ Mariner Venus Final Project Report (NASA SP-59, 1965), p.87
  9. ^ The Promise of Space, Arthur C. Clarke, 1968, p.225
  10. ^ "Mariner 1", Version 4.0.7, 02 April 2008
  11. ^ Beyond the Limits: Flight Enters the Computer Age, Paul E. Ceruzzi, In p.250, footnote 13 for Chapter 9. where Ceruzzi writes that, "[S]ince the Atlas Guidance Computer did not have a Fortran compiler ....", and in footnote 14, ""The Atlas Launch computer did not even use Fortran the Fortran programming language. How the story has become embellished in this way is a mystery."
  12. ^ RISKS Digest, v. 9, issue 54, "Mariner I [once more]", Mark Brader, 12 Dec 89
  13. ^ Famous bugs
  14. ^ http://www.faqs.org/faqs/space/probe/
  15. ^ Beyond the Limits: Flight Enters the Computer Age, Paul E. Ceruzzi, p.203. In one of the notes for this book (p. 250), the author writes "The same flawed program had been used in earlier Ranger launches with no ill effects."

External links